<%@ include file="public/include.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <link rel="stylesheet" type="text/css" href="styles/pub/default.css" >
</head>

<body>
<div class="main" style="width:100%;">
	<form id="ApplySearch" name="ApplySearch" action="ApplySearch.do" method="post">
			<table border="0" cellspacing="0" cellpadding="0" align="center">
			  <caption>
				  备案号检查表
			  </caption>
			  	<tr><td colspan="9" style="color:highlight;">相同备案号的展会</td></tr>
			    <tr>
			      <td align="center">
			        <table class="list" style="width:100%;">
			          <tr class="title">
			            <td>序号</td>
			            <td>备案号</td>
			            <td width="35%">展会名</td>
			            <td>报检单位</td>
			            <td>开展日期</td>
			            <td>毕展日期</td>
			          </tr>
					<c:forEach items="${map.sameCodeList}" varStatus="stat" var="apply">
			          <tr>
			            <td>${stat.count+map.page.seq}</td>
			            <td>${apply.applyCode}</td>
			            <td>${apply.exhName}</td>
			            <td><mytag:c2s key="${apply.entUserId}" type="ent"/></td>
			            <td>${myfunc:d2s(apply.beginDate)}</td>
			            <td>${myfunc:d2s(apply.endDate)}</td>
			          </tr>
					</c:forEach>
			        </table>
			      </td>
			    </tr>
			    
			    <tr><td colspan="9" style="height:30px;"></td></tr>

			    <tr><td colspan="9" style="color:highlight;">相同展会名的展会</td></tr>
			    <tr>
			      <td align="center">
			        <table class="list" style="width:100%;">
			          <tr class="title">
			            <td>序号</td>
			            <td>备案号</td>
			            <td width="35%">展会名</td>
			            <td>报检单位</td>
			            <td>开展日期</td>
			            <td>毕展日期</td>
			          </tr>
					<c:forEach items="${map.sameCodeList}" varStatus="stat" var="apply">
			          <tr>
			            <td>${stat.count+map.page.seq}</td>
			            <td>${apply.applyCode}</td>
			            <td>${apply.exhName}</td>
			            <td><mytag:c2s key="${apply.entUserId}" type="ent"/></td>
			            <td>${myfunc:d2s(apply.beginDate)}</td>
			            <td>${myfunc:d2s(apply.endDate)}</td>
			          </tr>
					</c:forEach>
			        </table>
			      </td>
			    </tr>
			</table>
        	<security:authorize ifAnyGranted="ROLE_APPLY_CENSOR">
        		<input type="hidden" name="deleteApplyId" id="deleteApplyId">
        	</security:authorize>
	</form>
</div>
</body>
</html>
